package com.gdssoft.pdaweb.model;

import java.util.Date;

import org.springframework.context.support.StaticApplicationContext;

import com.google.gson.annotations.Expose;

/**
 * PDA_PLAN_DETAIL
 * @author F3229233 2013-4-3 
 *
 */
public class PdaPlanDetail extends com.gdssoft.core.model.BaseModel{

	private static final long serialVersionUID = 1L;
	
	public static final int AM = 1;
	public static final int WATER = 2;
	
	@Expose
	protected Long id;
	@Expose
	protected Long planId;
	@Expose 
	protected String meterId;
	@Expose
	protected int type;//'1=电表;2=水表';
	@Expose
	protected Date createddt;
	@Expose
	protected String createdby;
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the planId
	 */
	public Long getPlanId() {
		return planId;
	}
	/**
	 * @param planId the planId to set
	 */
	public void setPlanId(Long planId) {
		this.planId = planId;
	}
	/**
	 * @return the meterId
	 */
	public String getMeterId() {
		return meterId;
	}
	/**
	 * @param meterId the meterId to set
	 */
	public void setMeterId(String meterId) {
		this.meterId = meterId;
	}
	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}
	/**
	 * @return the createddt
	 */
	public Date getCreateddt() {
		return createddt;
	}
	/**
	 * @param createddt the createddt to set
	 */
	public void setCreateddt(Date createddt) {
		this.createddt = createddt;
	}
	/**
	 * @return the createdby
	 */
	public String getCreatedby() {
		return createdby;
	}
	/**
	 * @param createdby the createdby to set
	 */
	public void setCreatedby(String createdby) {
		this.createdby = createdby;
	}
	

}
